package com.example.jixeishi1.entity;

import java.util.Date;


//用户

public class Users {
    int id;
    String yhusername;
    String username;
    String password;
    int role;
    String telephone;
    Date createtime;
    int conferred;

    public Users() {
    }

    public Users(int id, String yhusername, String username, String password, int role, String telephone, Date createtime, int conferred) {
        this.id = id;
        this.yhusername = yhusername;
        this.username = username;
        this.password = password;
        this.role = role;
        this.telephone = telephone;
        this.createtime = createtime;
        this.conferred = conferred;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getYhusername() {
        return yhusername;
    }

    public void setYhusername(String yhusername) {
        this.yhusername = yhusername;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public int getConferred() {
        return conferred;
    }

    public void setConferred(int conferred) {
        this.conferred = conferred;
    }

    @Override
    public String toString() {
        return "\nUsers{" +
                "id=" + id +
                ", yhusername='" + yhusername + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", role=" + role +
                ", telephone='" + telephone + '\'' +
                ", createtime=" + createtime +
                ", conferred=" + conferred +
                '}';
    }
}
